package PayrollCalculation;

public class PayrollSystem {
    public static void main(String[] args) {
        Employee[] employees = {
                new Developer("张三", 8000, 10000),
                new Salesperson("李四", 4500, 60000),
                new CustomerService("王五", 4000, 0.86),
        };

        for (Employee employee : employees) {
            System.out.println(employee);
        }
    }
}
